package xyz.riceball.test.bean;

import xyz.riceball.annotation.Component;
import xyz.riceball.annotation.Service;
import xyz.riceball.annotation.Value;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/6/29 20:12
 */
@Component
public class ABean {

    @Value("12")
    private Integer id;
    @Value("张三")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "A{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
